import { InjectionToken } from "tsyringe";

export abstract class RunableTask {
    title: string;
    type: string;
    abstract run(): void;
    abstract canRun(): boolean;
    abstract stop(): void;
}
export const CURRENT_TASK: InjectionToken<RunableTask> = `CURRENT_TASK`
export const TASKS: InjectionToken<RunableTask> = `TASKS`
